package com.wanbatv.wangwangba.util;

import com.wanbatv.wangwangba.model.entity.AuthenticationData;
import com.wanbatv.wangwangba.model.entity.DogtvData;
import com.wanbatv.wangwangba.model.entity.EncyclopediasData;
import com.wanbatv.wangwangba.model.entity.HomepageData;
import com.wanbatv.wangwangba.model.entity.OrderData;
import com.wanbatv.wangwangba.model.entity.PayData;
import com.wanbatv.wangwangba.model.entity.TrailerData;
import com.wanbatv.wangwangba.model.entity.WangwangshowData;

import retrofit2.Call;
import retrofit2.http.Field;
import retrofit2.http.FieldMap;
import retrofit2.http.GET;
import retrofit2.http.POST;
import retrofit2.http.Path;
import retrofit2.http.Query;


/**
 * Created by 俞亚楠 on 2016/7/19.
 */
public interface GitMainService {

    @GET("wangwangba/hots/all")
    Call<HomepageData> getHomepage();

    @GET("wangwangba/wikis/all")
    Call<EncyclopediasData> getEncyclopedias();

    @GET("wangwangba/dogtvprograms/all")
    Call<DogtvData> getDogtvprograms();

    @GET("wangwangba/shows/all")
    Call<WangwangshowData> getShows();

    @GET("wangwangba/trailer")
    Call<TrailerData> getTrailer(@Query("flavor")String flavor);




}
